package cron

import (
	"github.com/robfig/cron/v3"
)

func Init() {
	c := cron.New(cron.WithSeconds())

	exp := "* * * * * ?"
	_, _ = c.AddFunc(exp, printNum)

	c.Start()
}

func printNum() {
	//fmt.Println("123")
}
